package com.woniu.communitymanagement.mapper;

import com.woniu.communitymanagement.entity.Owner;
import com.woniu.communitymanagement.entity.Repair;
import com.woniu.communitymanagement.entity.RepairType;

import java.util.List;

/**
* @author 14542
* @description 针对表【repair(报修信息管理表)】的数据库操作Mapper
* @createDate 2022-11-30 18:55:35
* @Entity com.woniu.communitymanagement.entity.Repair
*/
public interface RepairMapper {
    List<Repair> selectRepairList(String comId, String status,Integer start, Integer size);

    int selectCount(String comId, String status);

    Repair selectRepairById(int id);

    int insertRepair(Repair repair);

    int updateRepair(int id);

    int refresh(int id);

    int deleteRepair(int id);

    List<RepairType> selectRepairType();

    List<Owner> selectOwner();

}




